#!/usr/bin/python
#Test Excetion Opteration

import os

#os.system('ls>>a.txt');
#print 'hello'

try:
    s=raw_input("Please input a string: ")
    raise EOFError()
except EOFError:
    print 'input error'
    exit()
except:
    print 'unkown error';
print 'done'